#ifndef STRINGFIELD_H
#define STRINGFIELD_H

#include <QString>
#include <QVariant>

#include "BaseField.h"
#include "ClassifierField.hpp"

class StringField : public BaseField /*, IClassifierField<QString>*/
{
public:
    StringField(const QString &name, int lenght);
    StringField(const QString &name, const QString &description, int lenght);

    bool validate(const QVariant &value) const;
};

#endif // STRINGFIELD_H
